NOTE: “Test” Namespace needs a blank child page to be sorted properly by Indexmenu Plugin. Please don't fix this problem!! It is an example. See indexmenu_n>7 but it stays at the top?
How to add a Blank Sub-page to get the sort order working.
Question: Why is indexmenu set to 4 and this page does not show up at position 4 but at the top?
Fabbian discovered the answer:
Pages are created but they do not show up in the navigation. Pages below are NOT defined by FULL PATHS starting from
opencpn:opencpn_user_manual:edit_ ...etc.
Relative paths result in no navigation TOC link on the left!
NOTE: Do not click on these red links and create pages!!! Why? Because the pages will be created in the wrong location!!
sub_test_page_short_relative_path
[[:sub_test_page_short_relative_path|sub_test_page_short_relative_path]]
Where will this create a page?
../doku2/data/pages/sub_test_page_short_relative_path
This file will not even be located in the start folder “opencpn” !!!
I have done a number of other tests using longer relative paths and the files will all be created in the wrong place
../doku2/data/pages/..
Therefore Indexmenu has no way to pickup the page as part of the TOC, because it is out of the tree.
ALWAYS USE A FULL PATH Starting with
[[opencpn:opencpn_user_manual: .... ]]
Page below is defined by FULL PATH starting from
opencpn:opencpn_user_manual:edit_ ...etc
This results in in the Navigation TOC link on the left!
NO COLON in front opencpn:opencpn_user_manual:edit_user_manual:test:full_path This page is opencpn:opencpn_user_manual…
COLON in front :opencpn:opencpn_user_manual:edit_user_manual:test:full_path This page is :opencpn:opencpn_user_manual..etc and it also refers to that same page!!!
Both work. We will probably be removing the ones with : in front by use of FIND + SED